package com.demo.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

@Slf4j
@RestController
@RequestMapping("/schedule")
@Api(description = "调度")
public class ScheduleController extends BaseController {

    @ApiOperation(value = "(调度)停止运行")
    @PostMapping(value = "/stop")
    public Object page(@RequestBody Map model, HttpServletRequest req){
        return success("");
    }

}
